package semiproject.models;

public class ProfessorVO {
	private String pfno;
	private String name;  //1변수만들기
	private String fields;
	private String skills;
	
	public ProfessorVO(String name,String fields,String skills) {//2.생성자만들기
			this.name=name;
			this.fields=fields;
			this.skills= skills;
	}
//3.set,get만들기
	
	public String getName() {
		return name;
	}
	public String getPfno() {
		return pfno;
	}
	public void setPfno(String pfno) {
		this.pfno = pfno;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getFields() {
		return fields;
	}
	public void setFields(String fields) {
		this.fields = fields;
	}
	public String getSkills() {
		return skills;
	}
	public void setSkills(String skills) {
		this.skills = skills;
	}
	//4.to.String정의
	@Override
	public String toString() {
	String result="";
	result+=pfno+"/"+name+"/"+fields+"/"+skills;
	return result;
	}
}
